package com.peas.platform.module.icims.base.sys.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.base.sys.adapter.repository.RecycleRepository;
import com.peas.platform.module.icims.base.sys.adapter.repository.po.RecyclePo;
import com.peas.platform.module.icims.base.sys.domain.RecycleDomain;
import com.peas.platform.module.icims.base.sys.dto.RecycleDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class RecycleDomainImpl extends BaseDomainImpl<RecycleDto, RecyclePo> implements RecycleDomain {

    @Resource
    private RecycleRepository recycleRepository;

    @Override
    public BaseRepository<RecyclePo> getMapper() {
        return recycleRepository;
    }

    @Override
    public Class<? extends BaseRepository<RecyclePo>> getRepositoryClass() {
        return RecycleRepository.class;
    }

}
